package day12;

public class InsuficientFoundsException extends Exception{
	private double  amount;

	public InsuficientFoundsException(double amount) {
		super("余额不足，还差："+amount);
		this.amount = amount;
	}

	public double getAmount() {
		return amount;
	}
	

}
